When the currently focused app sends a notification while in the overview,
the corresponding source icon is not removed when the overview is left.
It does make some sense to treat the overview transition the same as a
normal focus change, so we should update the summary view accordingly.
Shell.WindowTracker.get_default().connect('notify::focus-app',
Lang.bind(this, this._onFocusAppChanged));
+ Main.overview.connect('hidden',
+ Lang.bind(this, this._onFocusAppChanged));
},
_acquiredName: function() {
];
},
- _onFocusAppChanged: function(tracker) {
+ _onFocusAppChanged: function() {
+ let tracker = Shell.WindowTracker.get_default();
Main.messageTray.removeSourceByApp(tracker.focus_app);
},